package com.cyh.config;

import com.mchange.v2.c3p0.ComboPooledDataSource;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.*;

import javax.sql.DataSource;
import java.sql.Connection;


@Configuration //标志此类为spring的核心配置文件类
@ComponentScan("com.cyh") //组件扫描注解，类似 <context:component-scan base-package="com.cyh"></context:component-scan>
@Import(DataSourceConfiguration.class) //将分配置类，加入到核心配置类中 类似 <import resource=""/>
public class SpringConfiguration {


}
